﻿using TomNet.App.Model.DTO;
using TomNet.SqlSugarCore.Entity;

namespace TomNet.App.Model.DB.Identity
{
	public class UserMap : IdentityEntityBase<int>
	{
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 代理商ID
        /// </summary>
        public int AgentId { get; set; }

        /// <summary>
        /// 代理商下的业务员的ID
        /// </summary>
        public int AgentSalesmanId { get; set; }

        /// <summary>
        /// 接口商ID
        /// </summary>
        public int InterfaceId { get; set; }

        /// <summary>
        /// 接口商下的业务员的ID
        /// </summary>
        public int InterfaceSalesmanId { get; set; }

        /// <summary>
        /// 超级管理ID
        /// </summary>
        public int SuperId { get; set; }

        /// <summary>
        /// 超级管理下业务员ID
        /// </summary>
        public int SuperSalesmanId { get; set; }
    }
}
